<?php
/**
 * Created by PhpStorm.
 * User: hhcycj
 * Date: 2018\9\7 0007
 * Time: 15:51
 */

use NoahBuscher\Macaw\Macaw;

// URI重复定义，都会访问到
Macaw::get('/', 'App\Controllers\HomeController@index');
Macaw::get('/home', 'App\Controllers\HomeController@home');


Macaw::get('/post/index', 'App\Controllers\PostController@index');

// 路由设置后，进行调度
Macaw::dispatch();